package com.chinasofti.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class Handler {
    @GetMapping("/goto")
    public String gotoE(Model model){
        model.addAttribute("msg","你好");
        model.addAttribute("link","http://163.com");
        return "success.html";
    }
}
